package com.hdoit.ares.logical.official.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年03月10日 15:46:30
 * @comment
 */

@Alias("articalComment")
@Entity
@Table(name="official_artical_comment")
public class ArticalComment extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //评论相关的文章
    @Column(name="articalId")
    private String articalId;

    //评论人id
    @Column(name="customerId")
    private String customerId;

    //被回复的人的id
    @Column(name="replyedId")
    private String replyedId;

    //回复内容
    @Column(name="comment")
    private String comment;

    //评论时间
    @Column(name="createTime")
    private Date createTime;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;

    
    @Transient
    private int praiseCount;
    
    @Transient
    private int glanceCount;
    
    @Transient
    private String customerName;
    
    @Transient
    private String customerImg;
    
    @Transient
    private String praiseCustomerId;
    
    @Transient
    private String replyedName;
    
    @Transient
    private String nickName;
    
    @Transient
    private String replyedNickName;
    
    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getArticalId(){
        return this.articalId;
    }
    public void setArticalId(String articalId){
         this.articalId=articalId;
    }

    public String getCustomerId(){
        return this.customerId;
    }
    public void setCustomerId(String customerId){
         this.customerId=customerId;
    }

    public String getReplyedId(){
        return this.replyedId;
    }
    public void setReplyedId(String replyedId){
         this.replyedId=replyedId;
    }

    public String getComment(){
        return this.comment;
    }
    public void setComment(String comment){
         this.comment=comment;
    }

    public Date getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Date createTime){
         this.createTime=createTime;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }
	public int getPraiseCount() {
		return praiseCount;
	}
	public void setPraiseCount(int praiseCount) {
		this.praiseCount = praiseCount;
	}
	public int getGlanceCount() {
		return glanceCount;
	}
	public void setGlanceCount(int glanceCount) {
		this.glanceCount = glanceCount;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public String getReplyedName() {
		return replyedName;
	}
	public void setReplyedName(String replyedName) {
		this.replyedName = replyedName;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getReplyedNickName() {
		return replyedNickName;
	}
	public void setReplyedNickName(String replyedNickName) {
		this.replyedNickName = replyedNickName;
	}
	public String getCustomerImg() {
		return customerImg;
	}
	public void setCustomerImg(String customerImg) {
		this.customerImg = customerImg;
	}
	public String getPraiseCustomerId() {
		return praiseCustomerId;
	}
	public void setPraiseCustomerId(String praiseCustomerId) {
		this.praiseCustomerId = praiseCustomerId;
	}
    
	
}